<template>
    <div v-transfer-dom :show.sync="showFollow">
      <x-dialog :show.sync="showFollow" class="dialog-demo bind-dialog ">
        <div class="follow-bg">
          <img :src="wechat" alt="">
        </div>
      </x-dialog>
    </div>
</template>
<script>
import { XDialog, TransferDomDirective as TransferDom } from 'vux'
import {  getServerHost,
  preventMove,
  GetRequest,
  checkMobile,
  checkQq
} from '@/assets/lib/tool.js'
export default {
  directives: {
    TransferDom
  },
  components: { XDialog },
  props: {
    follow: {
      type: Number,
      required: true
    }
  },
  data() {
    return {
      openid: GetRequest().openid,
      wechat: require('@/assets/img/wechat.png'),
      showFollow: !Boolean(this.follow),
      judgeUrl: '/wxjx/goddess/common/user/judge'
    }
  },
  mounted() {

  },
  methods: {

  }
}
</script>
<style lang="less" scoped>
.follow-bg {
  margin: 0 auto;
  width: 509px;
  height: 476px;
  background: url("../../assets/img/follow.png") no-repeat;
  background-size: 509px 476px;
  img {
    margin-top: 158px;
    width: 217px;
    height: 217px;
  }
}
</style>
